package com.ddstation.common.service;

import java.util.List;

import javax.inject.Inject;

import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.ddstation.crud.entity.MaInvsViolationMessageEntity;
import com.ddstation.crud.mapper.MaInvsViolationMessageMapper;

@Service @Lazy
public class ViolationMessageServiceImpl implements ViolationMessageService {
	//数据字典数据取得
	@Override
	@Transactional(readOnly=true)
	public List<MaInvsViolationMessageEntity> selectList(){
		return maInvsViolationMessageMapper.selectList();
	}
	
	@Inject private MaInvsViolationMessageMapper maInvsViolationMessageMapper;
}